package com.cssw.fyzb.tps.service.im;

import com.cssw.fyzb.tps.service.im.common.ImHttpComm;

/**
 * @Author Jian Qin.
 */
public interface MessageService {
    ImHttpComm.ImResult sendMsg(String toString);

    ImHttpComm.ImResult batchSendMsg(String toString);

    ImHttpComm.ImResult importMsg(String toString);

    ImHttpComm.ImResult getRoamMsg(String fromAccount, String toAccount, long maxCnt, long minTime, long maxTime, String lastMsgKey);

    ImHttpComm.ImResult msgWithDraw(String from_account, String to_account, String msgKey);

    ImHttpComm.ImResult setMsgRead(String report_account, String peer_account);

    ImHttpComm.ImResult sendGroupMsg(String toJson);
}
